import random

def double_color_ball():
    """生成双色球号码"""
    red = random.sample(range(1,34),6)
    red.sort()
    blue = random.randint(1,16)
    print("双色球开奖")
    print("红球:"," ".join(f"{n:02d}" for n in red))
    print("蓝球：", f"{blue:02d}")
double_color_ball()
